package android.itv.model;

import java.util.ArrayList;

public interface IUser
{
    public void saveUserToDB(User user);
    public User getUserFromDB();
    /**
     * 
     * @param user user muon dang nhap
     * @param password mat khau cua user
     * @param remember =true thi luu user vao db, =flase thi khong
     * @return danh sach cac doi tuong thuoc lop channel
     */
    public ArrayList<Channel> login(String user,String password,boolean remember);
    public void register();
}
